package com.ruicar.afs.cloud.afscase.message.condition;


import com.ruicar.afs.cloud.afscase.message.entity.MessageTemplate;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


/**
 * @author jiaqi.guo
 * @version 1.0
 * @created 2020/5/19 11:39
 */
@Data
public class MessageTemplateCondition extends MessageTemplate {
    int pageSize;
    int pageNumber;
    @ApiModelProperty("客户名,目前只有信审专员需要传")
    private String name;
    @ApiModelProperty("手机号")
    @NotBlank(message = "手机号码不能为空")
    private String phone;
    @ApiModelProperty("申请编号")
    private String applyNo;
    @ApiModelProperty("短信模板类型")
    private String templateType;
    @ApiModelProperty("与主借人关系，用于配偶和其他人区分")
    private String custRelation;
}
